.class public Lorg/springframework/context/support/ClassPathXmlApplicationContext;
.super Lorg/springframework/context/support/AbstractApplicationContext;
.source "ClassPathXmlApplicationContext.java"


# static fields
.field private static final TAG:Ljava/lang/String; = "ClassPathXmlApplicationContext"


# instance fields
.field private _beanListeners:Ljava/util/Collection;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Collection",
            "<",
            "Lcom/h2/org/springframework/beans/IBeanListener;",
            ">;"
        }
    .end annotation
.end field

.field private _beanPreProcess:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/h2/org/springframework/beans/Bean;",
            ">;"
        }
    .end annotation
.end field

.field private _beanStack:Ljava/util/Stack;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Stack",
            "<",
            "Lcom/h2/org/springframework/beans/Bean;",
            ">;"
        }
    .end annotation
.end field

.field private _placeholderResolver:Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

.field private _properties:Ljava/util/Properties;

.field protected _resorceManager:Lcom/h2/org/springframework/beans/factory/IResourceManager;

.field private _resourceResolver:Lcom/h2/org/springframework/beans/factory/ResourceResolver;

.field private _valueBeanStack:Ljava/util/Stack;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Stack",
            "<",
            "Lcom/h2/org/springframework/beans/IValueBean;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 78
    invoke-direct {p0}, Lorg/springframework/context/support/AbstractApplicationContext;-><init>()V

    .line 50
    new-instance v0, Lcom/h2/org/springframework/beans/factory/DResourceManager;

    invoke-direct {v0}, Lcom/h2/org/springframework/beans/factory/DResourceManager;-><init>()V

    iput-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_resorceManager:Lcom/h2/org/springframework/beans/factory/IResourceManager;

    .line 54
    new-instance v0, Lcom/h2/org/springframework/beans/factory/ResourceResolver;

    invoke-direct {v0}, Lcom/h2/org/springframework/beans/factory/ResourceResolver;-><init>()V

    iput-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_resourceResolver:Lcom/h2/org/springframework/beans/factory/ResourceResolver;

    .line 56
    new-instance v0, Ljava/util/Stack;

    invoke-direct {v0}, Ljava/util/Stack;-><init>()V

    iput-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanStack:Ljava/util/Stack;

    .line 60
    new-instance v0, Ljava/util/Stack;

    invoke-direct {v0}, Ljava/util/Stack;-><init>()V

    iput-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_valueBeanStack:Ljava/util/Stack;

    .line 62
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanPreProcess:Ljava/util/Map;

    .line 64
    new-instance v0, Ljava/util/Properties;

    invoke-direct {v0}, Ljava/util/Properties;-><init>()V

    iput-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_properties:Ljava/util/Properties;

    .line 66
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanListeners:Ljava/util/Collection;

    .line 80
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .locals 2
    .parameter "configLocation"

    .prologue
    .line 89
    invoke-direct {p0}, Lorg/springframework/context/support/AbstractApplicationContext;-><init>()V

    .line 50
    new-instance v1, Lcom/h2/org/springframework/beans/factory/DResourceManager;

    invoke-direct {v1}, Lcom/h2/org/springframework/beans/factory/DResourceManager;-><init>()V

    iput-object v1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_resorceManager:Lcom/h2/org/springframework/beans/factory/IResourceManager;

    .line 54
    new-instance v1, Lcom/h2/org/springframework/beans/factory/ResourceResolver;

    invoke-direct {v1}, Lcom/h2/org/springframework/beans/factory/ResourceResolver;-><init>()V

    iput-object v1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_resourceResolver:Lcom/h2/org/springframework/beans/factory/ResourceResolver;

    .line 56
    new-instance v1, Ljava/util/Stack;

    invoke-direct {v1}, Ljava/util/Stack;-><init>()V

    iput-object v1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanStack:Ljava/util/Stack;

    .line 60
    new-instance v1, Ljava/util/Stack;

    invoke-direct {v1}, Ljava/util/Stack;-><init>()V

    iput-object v1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_valueBeanStack:Ljava/util/Stack;

    .line 62
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    iput-object v1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanPreProcess:Ljava/util/Map;

    .line 64
    new-instance v1, Ljava/util/Properties;

    invoke-direct {v1}, Ljava/util/Properties;-><init>()V

    iput-object v1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_properties:Ljava/util/Properties;

    .line 66
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanListeners:Ljava/util/Collection;

    .line 90
    new-instance v0, Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;

    invoke-direct {v0}, Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;-><init>()V

    .line 91
    .local v0, factory:Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;
    invoke-virtual {p0, v0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->setBeanFactory(Lorg/springframework/beans/factory/BeanFactory;)V

    .line 93
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processContext(Ljava/lang/String;)V

    .line 95
    invoke-direct {p0, v0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->preProcess(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;)V

    .line 97
    invoke-virtual {p0, v0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->postProcess(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;)V

    .line 98
    return-void
.end method

.method private initBean(Lcom/h2/org/springframework/beans/Bean;)Lcom/h2/org/springframework/beans/Bean;
    .locals 1
    .parameter "bean"

    .prologue
    .line 674
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-virtual {p1, v0}, Lcom/h2/org/springframework/beans/Bean;->setProperties(Ljava/util/Map;)V

    .line 675
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {p1, v0}, Lcom/h2/org/springframework/beans/Bean;->setBeanProperties(Ljava/util/Collection;)V

    .line 676
    sget-object v0, Lcom/h2/org/springframework/beans/Bean$BeanType;->OBJECT:Lcom/h2/org/springframework/beans/Bean$BeanType;

    invoke-virtual {p1, v0}, Lcom/h2/org/springframework/beans/Bean;->setType(Lcom/h2/org/springframework/beans/Bean$BeanType;)V

    .line 677
    return-object p1
.end method

.method private preProcess(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;)V
    .locals 18
    .parameter "factory"

    .prologue
    .line 101
    invoke-virtual/range {p0 .. p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanPreProcess()Ljava/util/Map;

    move-result-object v13

    invoke-interface {v13}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object v3

    .line 102
    .local v3, beans:Ljava/util/Collection;,"Ljava/util/Collection<Lcom/h2/org/springframework/beans/Bean;>;"
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    .line 105
    .local v4, beansToRemove:Ljava/util/Collection;,"Ljava/util/Collection<Lcom/h2/org/springframework/beans/Bean;>;"
    invoke-interface {v3}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v14

    :cond_0
    :goto_0
    invoke-interface {v14}, Ljava/util/Iterator;->hasNext()Z

    move-result v13

    if-nez v13, :cond_1

    .line 179
    invoke-interface {v4}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v13

    :goto_1
    invoke-interface {v13}, Ljava/util/Iterator;->hasNext()Z

    move-result v14

    if-nez v14, :cond_6

    .line 182
    return-void

    .line 105
    :cond_1
    invoke-interface {v14}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/h2/org/springframework/beans/Bean;

    .line 106
    .local v2, bean:Lcom/h2/org/springframework/beans/Bean;
    const-string v13, "org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"

    invoke-virtual {v2}, Lcom/h2/org/springframework/beans/Bean;->getClazzName()Ljava/lang/String;

    move-result-object v15

    invoke-virtual {v13, v15}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v13

    if-eqz v13, :cond_2

    .line 107
    move-object/from16 v0, p0

    move-object/from16 v1, p1

    invoke-virtual {v0, v1, v2}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V

    .line 108
    move-object/from16 v0, p0

    move-object/from16 v1, p1

    invoke-virtual {v0, v1, v2}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processInnerBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V

    .line 111
    invoke-virtual {v2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer;

    .line 113
    .local v6, config:Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer;
    :try_start_0
    invoke-virtual/range {p0 .. p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getProperties()Ljava/util/Properties;

    move-result-object v13

    .line 114
    invoke-virtual/range {p0 .. p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getResorceManager()Lcom/h2/org/springframework/beans/factory/IResourceManager;

    move-result-object v15

    invoke-virtual/range {p0 .. p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getResourceResolver()Lcom/h2/org/springframework/beans/factory/ResourceResolver;

    move-result-object v16

    invoke-virtual {v6}, Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer;->getLocation()Ljava/lang/String;

    move-result-object v17

    invoke-virtual/range {v16 .. v17}, Lcom/h2/org/springframework/beans/factory/ResourceResolver;->resolvePath(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v16

    invoke-interface/range {v15 .. v16}, Lcom/h2/org/springframework/beans/factory/IResourceManager;->getResource(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v15

    .line 113
    invoke-virtual {v13, v15}, Ljava/util/Properties;->load(Ljava/io/InputStream;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 120
    :goto_2
    new-instance v13, Lorg/springframework/context/support/ClassPathXmlApplicationContext$1;

    move-object/from16 v0, p0

    invoke-direct {v13, v0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext$1;-><init>(Lorg/springframework/context/support/ClassPathXmlApplicationContext;)V

    move-object/from16 v0, p0

    invoke-virtual {v0, v13}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->setPlaceholderResolver(Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;)V

    goto :goto_0

    .line 116
    :catch_0
    move-exception v7

    .line 117
    .local v7, exp:Ljava/io/IOException;
    const-string v13, "ClassPathXmlApplicationContext"

    invoke-virtual {v7}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object v15

    invoke-static {v13, v15}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 118
    const-string v13, "ClassPathXmlApplicationContext"

    const-string v15, "Details: "

    invoke-static {v13, v15, v7}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_2

    .line 126
    .end local v6           #config:Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer;
    .end local v7           #exp:Ljava/io/IOException;
    :cond_2
    const-string v13, "org.springframework.beans.factory.config.MethodInvokingFactoryBean"

    invoke-virtual {v2}, Lcom/h2/org/springframework/beans/Bean;->getClazzName()Ljava/lang/String;

    move-result-object v15

    invoke-virtual {v13, v15}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v13

    if-eqz v13, :cond_4

    .line 129
    invoke-virtual {v2}, Lcom/h2/org/springframework/beans/Bean;->getProperties()Ljava/util/Map;

    move-result-object v13

    const-string v15, "staticMethod"

    invoke-interface {v13, v15}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v13

    if-eqz v13, :cond_3

    .line 130
    invoke-virtual {v2}, Lcom/h2/org/springframework/beans/Bean;->getProperties()Ljava/util/Map;

    move-result-object v13

    const-string v15, "staticMethod"

    invoke-interface {v13, v15}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/lang/String;

    .line 131
    .local v12, value:Ljava/lang/String;
    const/16 v13, 0x2e

    invoke-virtual {v12, v13}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v8

    .line 132
    .local v8, index:I
    const/4 v13, 0x0

    invoke-virtual {v12, v13, v8}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v5

    .line 133
    .local v5, clazz:Ljava/lang/String;
    add-int/lit8 v13, v8, 0x1

    invoke-virtual {v12, v13}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v10

    .line 134
    .local v10, methodName:Ljava/lang/String;
    invoke-static {v5}, Lorg/springframework/beans/BeanUtils;->getClass(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v13

    invoke-static {v13, v10}, Lorg/springframework/util/ReflectionUtils;->findMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;

    move-result-object v9

    .line 136
    .local v9, method:Ljava/lang/reflect/Method;
    const/4 v13, 0x0

    const/4 v15, 0x0

    :try_start_1
    new-array v15, v15, [Ljava/lang/Object;

    invoke-virtual {v9, v13, v15}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v13

    invoke-virtual {v2, v13}, Lcom/h2/org/springframework/beans/Bean;->setInstantiatedObject(Ljava/lang/Object;)V

    .line 138
    invoke-virtual {v9}, Ljava/lang/reflect/Method;->getReturnType()Ljava/lang/Class;

    move-result-object v13

    invoke-virtual {v2, v13}, Lcom/h2/org/springframework/beans/Bean;->setClazz(Ljava/lang/Class;)V
    :try_end_1
    .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_1
    .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_2
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_3

    .line 153
    .end local v5           #clazz:Ljava/lang/String;
    .end local v8           #index:I
    .end local v9           #method:Ljava/lang/reflect/Method;
    .end local v10           #methodName:Ljava/lang/String;
    .end local v12           #value:Ljava/lang/String;
    :cond_3
    :goto_3
    move-object/from16 v0, p1

    invoke-virtual {v0, v2}, Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;->addBean(Lcom/h2/org/springframework/beans/Bean;)V

    .line 154
    invoke-interface {v4, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    .line 140
    .restart local v5       #clazz:Ljava/lang/String;
    .restart local v8       #index:I
    .restart local v9       #method:Ljava/lang/reflect/Method;
    .restart local v10       #methodName:Ljava/lang/String;
    .restart local v12       #value:Ljava/lang/String;
    :catch_1
    move-exception v7

    .line 141
    .local v7, exp:Ljava/lang/IllegalArgumentException;
    const-string v13, "ClassPathXmlApplicationContext"

    invoke-virtual {v7}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;

    move-result-object v15

    invoke-static {v13, v15}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 142
    const-string v13, "ClassPathXmlApplicationContext"

    const-string v15, "Details: "

    invoke-static {v13, v15, v7}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_3

    .line 144
    .end local v7           #exp:Ljava/lang/IllegalArgumentException;
    :catch_2
    move-exception v7

    .line 145
    .local v7, exp:Ljava/lang/IllegalAccessException;
    const-string v13, "ClassPathXmlApplicationContext"

    invoke-virtual {v7}, Ljava/lang/IllegalAccessException;->getMessage()Ljava/lang/String;

    move-result-object v15

    invoke-static {v13, v15}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 146
    const-string v13, "ClassPathXmlApplicationContext"

    const-string v15, "Details: "

    invoke-static {v13, v15, v7}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_3

    .line 148
    .end local v7           #exp:Ljava/lang/IllegalAccessException;
    :catch_3
    move-exception v7

    .line 149
    .local v7, exp:Ljava/lang/reflect/InvocationTargetException;
    const-string v13, "ClassPathXmlApplicationContext"

    invoke-virtual {v7}, Ljava/lang/reflect/InvocationTargetException;->getMessage()Ljava/lang/String;

    move-result-object v15

    invoke-static {v13, v15}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 150
    const-string v13, "ClassPathXmlApplicationContext"

    const-string v15, "Details: "

    invoke-static {v13, v15, v7}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_3

    .line 155
    .end local v5           #clazz:Ljava/lang/String;
    .end local v7           #exp:Ljava/lang/reflect/InvocationTargetException;
    .end local v8           #index:I
    .end local v9           #method:Ljava/lang/reflect/Method;
    .end local v10           #methodName:Ljava/lang/String;
    .end local v12           #value:Ljava/lang/String;
    :cond_4
    invoke-virtual {v2}, Lcom/h2/org/springframework/beans/Bean;->getDependsOn()Ljava/lang/String;

    move-result-object v13

    if-eqz v13, :cond_5

    .line 158
    invoke-virtual/range {p0 .. p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanListeners()Ljava/util/Collection;

    move-result-object v13

    new-instance v15, Lorg/springframework/context/support/ClassPathXmlApplicationContext$2;

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    invoke-direct {v15, v0, v2, v1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext$2;-><init>(Lorg/springframework/context/support/ClassPathXmlApplicationContext;Lcom/h2/org/springframework/beans/Bean;Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;)V

    invoke-interface {v13, v15}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    .line 167
    invoke-interface {v4, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    .line 168
    :cond_5
    instance-of v13, v2, Lcom/h2/org/springframework/beans/UtilBean;

    if-eqz v13, :cond_0

    move-object v13, v2

    .line 169
    check-cast v13, Lcom/h2/org/springframework/beans/UtilBean;

    move-object/from16 v0, p0

    invoke-virtual {v0, v13}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->guessUtilBeanType(Lcom/h2/org/springframework/beans/UtilBean;)Ljava/lang/String;

    move-result-object v11

    .line 170
    .local v11, type:Ljava/lang/String;
    if-eqz v11, :cond_0

    .line 174
    check-cast v2, Lcom/h2/org/springframework/beans/UtilBean;

    .end local v2           #bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {v2, v11}, Lcom/h2/org/springframework/beans/UtilBean;->setValueType(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 179
    .end local v11           #type:Ljava/lang/String;
    :cond_6
    invoke-interface {v13}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/h2/org/springframework/beans/Bean;

    .line 180
    .restart local v2       #bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-interface {v3, v2}, Ljava/util/Collection;->remove(Ljava/lang/Object;)Z

    goto/16 :goto_1
.end method

.method private processBeanConstructorArg(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 6
    .parameter "xpp"

    .prologue
    .line 652
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeCount()I

    move-result v1

    .line 654
    .local v1, count:I
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v5

    invoke-virtual {v5}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/h2/org/springframework/beans/ConstructorArg;

    .line 655
    .local v0, arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-lt v2, v1, :cond_0

    .line 671
    return-void

    .line 656
    :cond_0
    invoke-interface {p1, v2}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeName(I)Ljava/lang/String;

    move-result-object v3

    .line 657
    .local v3, name:Ljava/lang/String;
    invoke-interface {p1, v2}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(I)Ljava/lang/String;

    move-result-object v4

    .line 659
    .local v4, value:Ljava/lang/String;
    const-string v5, "value"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 660
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/ConstructorArg;->setValue(Ljava/lang/String;)V

    .line 655
    :cond_1
    :goto_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 661
    :cond_2
    const-string v5, "type"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_3

    .line 662
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/ConstructorArg;->setType(Ljava/lang/String;)V

    goto :goto_1

    .line 663
    :cond_3
    const-string v5, "ref"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_4

    .line 664
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/ConstructorArg;->setType(Ljava/lang/String;)V

    goto :goto_1

    .line 665
    :cond_4
    const-string v5, "name"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_5

    .line 666
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/ConstructorArg;->setName(Ljava/lang/String;)V

    goto :goto_1

    .line 667
    :cond_5
    const-string v5, "index"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_1

    .line 668
    invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v5

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    invoke-virtual {v0, v5}, Lcom/h2/org/springframework/beans/ConstructorArg;->setIndex(Ljava/lang/Integer;)V

    goto :goto_1
.end method

.method private processPropertyBeanAttributes(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 6
    .parameter "xpp"

    .prologue
    .line 713
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v5

    invoke-virtual {v5}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/h2/org/springframework/beans/IValueBean;

    .line 714
    .local v3, prop:Lcom/h2/org/springframework/beans/IValueBean;
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeCount()I

    move-result v0

    .line 716
    .local v0, count:I
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    if-lt v1, v0, :cond_0

    .line 727
    return-void

    .line 717
    :cond_0
    invoke-interface {p1, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeName(I)Ljava/lang/String;

    move-result-object v2

    .line 719
    .local v2, name:Ljava/lang/String;
    invoke-interface {p1, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(I)Ljava/lang/String;

    move-result-object v4

    .line 721
    .local v4, value:Ljava/lang/String;
    const-string v5, "name"

    invoke-virtual {v5, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 722
    invoke-interface {v3, v4}, Lcom/h2/org/springframework/beans/IValueBean;->setName(Ljava/lang/String;)V

    .line 716
    :cond_1
    :goto_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 723
    :cond_2
    const-string v5, "value"

    invoke-virtual {v5, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_1

    .line 724
    invoke-interface {v3, v4}, Lcom/h2/org/springframework/beans/IValueBean;->setValue(Ljava/lang/String;)V

    goto :goto_1
.end method


# virtual methods
.method protected evaluateProperty(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;Lcom/h2/org/springframework/beans/IValueBean;Ljava/lang/reflect/Method;)Ljava/lang/Object;
    .locals 4
    .parameter "factory"
    .parameter "parentBean"
    .parameter "prop"
    .parameter "method"

    .prologue
    .line 467
    const/4 v0, 0x0

    .line 468
    .local v0, ref:Ljava/lang/Object;
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getRef()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 469
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanFactory()Lorg/springframework/beans/factory/BeanFactory;

    move-result-object v1

    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getRef()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2}, Lorg/springframework/beans/factory/BeanFactory;->getBean(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    .line 485
    .end local v0           #ref:Ljava/lang/Object;
    .end local p2
    :cond_0
    :goto_0
    return-object v0

    .line 470
    .restart local v0       #ref:Ljava/lang/Object;
    .restart local p2
    :cond_1
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getBean()Lcom/h2/org/springframework/beans/Bean;

    move-result-object v1

    if-eqz v1, :cond_2

    .line 472
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getBean()Lcom/h2/org/springframework/beans/Bean;

    move-result-object v1

    invoke-virtual {p0, p1, v1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V

    .line 473
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getBean()Lcom/h2/org/springframework/beans/Bean;

    move-result-object v1

    invoke-virtual {p0, p1, v1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processInnerBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V

    .line 475
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getBean()Lcom/h2/org/springframework/beans/Bean;

    move-result-object v1

    invoke-virtual {v1}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v0

    goto :goto_0

    .line 476
    :cond_2
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getValue()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_4

    instance-of v1, p2, Lcom/h2/org/springframework/beans/UtilBean;

    if-eqz v1, :cond_4

    .line 478
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    move-result-object v1

    if-nez v1, :cond_3

    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getValue()Ljava/lang/String;

    move-result-object v1

    .line 479
    :goto_1
    check-cast p2, Lcom/h2/org/springframework/beans/UtilBean;

    .end local p2
    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/UtilBean;->getValueType()Ljava/lang/String;

    move-result-object v2

    .line 477
    invoke-static {v1, v2}, Lorg/springframework/beans/BeanUtils;->convertToBean(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    goto :goto_0

    .line 478
    .restart local p2
    :cond_3
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    move-result-object v1

    .line 479
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getValue()Ljava/lang/String;

    move-result-object v2

    .line 478
    invoke-interface {v1, v2}, Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;->resolvePlaceholder(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    goto :goto_1

    .line 480
    :cond_4
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getValue()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 482
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    move-result-object v1

    if-nez v1, :cond_5

    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getValue()Ljava/lang/String;

    move-result-object v1

    .line 483
    :goto_2
    invoke-virtual {p4}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;

    move-result-object v2

    const/4 v3, 0x0

    aget-object v2, v2, v3

    .line 481
    invoke-static {v1, v2}, Lorg/springframework/beans/BeanUtils;->convertToBean(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    goto :goto_0

    .line 482
    :cond_5
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    move-result-object v1

    .line 483
    invoke-interface {p3}, Lcom/h2/org/springframework/beans/IValueBean;->getValue()Ljava/lang/String;

    move-result-object v2

    .line 482
    invoke-interface {v1, v2}, Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;->resolvePlaceholder(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    goto :goto_2
.end method

.method public getBeanListeners()Ljava/util/Collection;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Collection",
            "<",
            "Lcom/h2/org/springframework/beans/IBeanListener;",
            ">;"
        }
    .end annotation

    .prologue
    .line 910
    iget-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanListeners:Ljava/util/Collection;

    return-object v0
.end method

.method public getBeanPreProcess()Ljava/util/Map;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/h2/org/springframework/beans/Bean;",
            ">;"
        }
    .end annotation

    .prologue
    .line 840
    iget-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanPreProcess:Ljava/util/Map;

    return-object v0
.end method

.method public getBeanStack()Ljava/util/Stack;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Stack",
            "<",
            "Lcom/h2/org/springframework/beans/Bean;",
            ">;"
        }
    .end annotation

    .prologue
    .line 826
    iget-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanStack:Ljava/util/Stack;

    return-object v0
.end method

.method public getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;
    .locals 1

    .prologue
    .line 882
    iget-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_placeholderResolver:Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    return-object v0
.end method

.method public getProperties()Ljava/util/Properties;
    .locals 1

    .prologue
    .line 896
    iget-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_properties:Ljava/util/Properties;

    return-object v0
.end method

.method public getResorceManager()Lcom/h2/org/springframework/beans/factory/IResourceManager;
    .locals 1

    .prologue
    .line 812
    iget-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_resorceManager:Lcom/h2/org/springframework/beans/factory/IResourceManager;

    return-object v0
.end method

.method public getResourceResolver()Lcom/h2/org/springframework/beans/factory/ResourceResolver;
    .locals 1

    .prologue
    .line 868
    iget-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_resourceResolver:Lcom/h2/org/springframework/beans/factory/ResourceResolver;

    return-object v0
.end method

.method public getValueBeanStack()Ljava/util/Stack;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Stack",
            "<",
            "Lcom/h2/org/springframework/beans/IValueBean;",
            ">;"
        }
    .end annotation

    .prologue
    .line 924
    iget-object v0, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_valueBeanStack:Ljava/util/Stack;

    return-object v0
.end method

.method protected guessUtilBeanType(Lcom/h2/org/springframework/beans/UtilBean;)Ljava/lang/String;
    .locals 7
    .parameter "bean"

    .prologue
    .line 528
    const/4 v1, 0x0

    .line 530
    .local v1, clazzName:Ljava/lang/String;
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/UtilBean;->getValueType()Ljava/lang/String;

    move-result-object v4

    if-eqz v4, :cond_0

    .line 531
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/UtilBean;->getValueType()Ljava/lang/String;

    move-result-object v4

    .line 547
    :goto_0
    return-object v4

    .line 534
    :cond_0
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/UtilBean;->getBeanProperties()Ljava/util/Collection;

    move-result-object v0

    .line 535
    .local v0, beanProperties:Ljava/util/Collection;,"Ljava/util/Collection<Lcom/h2/org/springframework/beans/IValueBean;>;"
    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_1
    :goto_1
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-nez v5, :cond_2

    move-object v4, v1

    .line 547
    goto :goto_0

    .line 535
    :cond_2
    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/h2/org/springframework/beans/IValueBean;

    .line 536
    .local v2, prop:Lcom/h2/org/springframework/beans/IValueBean;
    invoke-interface {v2}, Lcom/h2/org/springframework/beans/IValueBean;->getRef()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_3

    .line 537
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanPreProcess()Ljava/util/Map;

    move-result-object v5

    invoke-interface {v2}, Lcom/h2/org/springframework/beans/IValueBean;->getRef()Ljava/lang/String;

    move-result-object v6

    invoke-interface {v5, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/h2/org/springframework/beans/Bean;

    .line 538
    .local v3, refBean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {v3}, Lcom/h2/org/springframework/beans/Bean;->getClazzName()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_1

    .line 539
    invoke-virtual {v3}, Lcom/h2/org/springframework/beans/Bean;->getClazzName()Ljava/lang/String;

    move-result-object v1

    goto :goto_1

    .line 541
    .end local v3           #refBean:Lcom/h2/org/springframework/beans/Bean;
    :cond_3
    invoke-interface {v2}, Lcom/h2/org/springframework/beans/IValueBean;->getBean()Lcom/h2/org/springframework/beans/Bean;

    move-result-object v5

    if-eqz v5, :cond_1

    .line 542
    invoke-interface {v2}, Lcom/h2/org/springframework/beans/IValueBean;->getBean()Lcom/h2/org/springframework/beans/Bean;

    move-result-object v3

    .line 543
    .restart local v3       #refBean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {v3}, Lcom/h2/org/springframework/beans/Bean;->getClazzName()Ljava/lang/String;

    move-result-object v1

    goto :goto_1
.end method

.method protected postProcess(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;)V
    .locals 4
    .parameter "factory"

    .prologue
    .line 214
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanPreProcess()Ljava/util/Map;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object v1

    .line 217
    .local v1, beans:Ljava/util/Collection;,"Ljava/util/Collection<Lcom/h2/org/springframework/beans/Bean;>;"
    invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-nez v3, :cond_0

    .line 222
    invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-nez v3, :cond_1

    .line 225
    return-void

    .line 217
    :cond_0
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/h2/org/springframework/beans/Bean;

    .line 218
    .local v0, bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {p0, p1, v0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V

    goto :goto_0

    .line 222
    .end local v0           #bean:Lcom/h2/org/springframework/beans/Bean;
    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/h2/org/springframework/beans/Bean;

    .line 223
    .restart local v0       #bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {p0, p1, v0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processInnerBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V

    goto :goto_1
.end method

.method protected postProcessDependency(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V
    .locals 0
    .parameter "factory"
    .parameter "bean"

    .prologue
    .line 228
    invoke-virtual {p0, p1, p2}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V

    .line 229
    invoke-virtual {p0, p1, p2}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processInnerBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V

    .line 230
    return-void
.end method

.method protected processBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V
    .locals 8
    .parameter "factory"
    .parameter "bean"

    .prologue
    .line 235
    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v5

    if-eqz v5, :cond_0

    .line 299
    :goto_0
    return-void

    .line 239
    :cond_0
    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getFactoryBean()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_1

    .line 240
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanFactory()Lorg/springframework/beans/factory/BeanFactory;

    move-result-object v5

    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getFactoryBean()Ljava/lang/String;

    move-result-object v6

    invoke-interface {v5, v6}, Lorg/springframework/beans/factory/BeanFactory;->getBean(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    .line 241
    .local v1, factoryBean:Ljava/lang/Object;
    if-nez v1, :cond_4

    .line 242
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanListeners()Ljava/util/Collection;

    move-result-object v5

    new-instance v6, Lorg/springframework/context/support/ClassPathXmlApplicationContext$3;

    invoke-direct {v6, p0, p2, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext$3;-><init>(Lorg/springframework/context/support/ClassPathXmlApplicationContext;Lcom/h2/org/springframework/beans/Bean;Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;)V

    invoke-interface {v5, v6}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    .line 288
    .end local v1           #factoryBean:Ljava/lang/Object;
    :cond_1
    :goto_1
    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getClazzName()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_3

    .line 289
    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getClazzName()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Lorg/springframework/beans/BeanUtils;->getClass(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v5

    invoke-virtual {p2, v5}, Lcom/h2/org/springframework/beans/Bean;->setClazz(Ljava/lang/Class;)V

    .line 290
    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    if-eqz v5, :cond_2

    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    invoke-interface {v5}, Ljava/util/List;->isEmpty()Z

    move-result v5

    if-eqz v5, :cond_6

    .line 291
    :cond_2
    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v5

    invoke-static {v5}, Lorg/springframework/beans/BeanUtils;->instantiate(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {p2, v5}, Lcom/h2/org/springframework/beans/Bean;->setInstantiatedObject(Ljava/lang/Object;)V

    .line 298
    :cond_3
    :goto_2
    invoke-virtual {p1, p2}, Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;->addBean(Lcom/h2/org/springframework/beans/Bean;)V

    goto :goto_0

    .line 253
    .restart local v1       #factoryBean:Ljava/lang/Object;
    :cond_4
    :try_start_0
    invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v5

    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getFactoryMethod()Ljava/lang/String;

    move-result-object v6

    const/4 v7, 0x0

    new-array v7, v7, [Ljava/lang/Class;

    invoke-virtual {v5, v6, v7}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v2

    .line 254
    .local v2, method:Ljava/lang/reflect/Method;
    const/4 v5, 0x0

    new-array v5, v5, [Ljava/lang/Object;

    invoke-virtual {v2, v1, v5}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    .line 255
    .local v4, ref:Ljava/lang/Object;
    if-nez v4, :cond_5

    .line 256
    const-string v5, "ClassPathXmlApplicationContext"

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "Reference is null: "

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getFactoryMethod()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_2
    .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_3
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_4

    goto :goto_1

    .line 262
    .end local v2           #method:Ljava/lang/reflect/Method;
    .end local v4           #ref:Ljava/lang/Object;
    :catch_0
    move-exception v0

    .line 263
    .local v0, exp:Ljava/lang/SecurityException;
    const-string v5, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/lang/SecurityException;->getMessage()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 264
    const-string v5, "ClassPathXmlApplicationContext"

    const-string v6, "Details: "

    invoke-static {v5, v6, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1

    .line 258
    .end local v0           #exp:Ljava/lang/SecurityException;
    .restart local v2       #method:Ljava/lang/reflect/Method;
    .restart local v4       #ref:Ljava/lang/Object;
    :cond_5
    :try_start_1
    invoke-virtual {p2, v4}, Lcom/h2/org/springframework/beans/Bean;->setInstantiatedObject(Ljava/lang/Object;)V

    .line 259
    invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v5

    invoke-virtual {p2, v5}, Lcom/h2/org/springframework/beans/Bean;->setClazz(Ljava/lang/Class;)V
    :try_end_1
    .catch Ljava/lang/SecurityException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_1} :catch_1
    .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_2
    .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_3
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_4

    goto :goto_1

    .line 266
    .end local v2           #method:Ljava/lang/reflect/Method;
    .end local v4           #ref:Ljava/lang/Object;
    :catch_1
    move-exception v0

    .line 267
    .local v0, exp:Ljava/lang/NoSuchMethodException;
    const-string v5, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/lang/NoSuchMethodException;->getMessage()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 268
    const-string v5, "ClassPathXmlApplicationContext"

    const-string v6, "Details: "

    invoke-static {v5, v6, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_1

    .line 270
    .end local v0           #exp:Ljava/lang/NoSuchMethodException;
    :catch_2
    move-exception v0

    .line 271
    .local v0, exp:Ljava/lang/IllegalArgumentException;
    const-string v5, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 272
    const-string v5, "ClassPathXmlApplicationContext"

    const-string v6, "Details: "

    invoke-static {v5, v6, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_1

    .line 274
    .end local v0           #exp:Ljava/lang/IllegalArgumentException;
    :catch_3
    move-exception v0

    .line 275
    .local v0, exp:Ljava/lang/IllegalAccessException;
    const-string v5, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/lang/IllegalAccessException;->getMessage()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 276
    const-string v5, "ClassPathXmlApplicationContext"

    const-string v6, "Details: "

    invoke-static {v5, v6, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_1

    .line 278
    .end local v0           #exp:Ljava/lang/IllegalAccessException;
    :catch_4
    move-exception v0

    .line 279
    .local v0, exp:Ljava/lang/reflect/InvocationTargetException;
    const-string v5, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/lang/reflect/InvocationTargetException;->getMessage()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 280
    const-string v5, "ClassPathXmlApplicationContext"

    const-string v6, "Details: "

    invoke-static {v5, v6, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_1

    .line 293
    .end local v0           #exp:Ljava/lang/reflect/InvocationTargetException;
    .end local v1           #factoryBean:Ljava/lang/Object;
    :cond_6
    invoke-virtual {p0, p2}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processConstructors(Lcom/h2/org/springframework/beans/Bean;)[Ljava/lang/Object;

    move-result-object v3

    .line 294
    .local v3, objs:[Ljava/lang/Object;
    invoke-virtual {p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v5

    invoke-static {v5, v3}, Lorg/springframework/beans/BeanUtils;->instantiateClass(Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    invoke-virtual {p2, v5}, Lcom/h2/org/springframework/beans/Bean;->setInstantiatedObject(Ljava/lang/Object;)V

    goto/16 :goto_2
.end method

.method public processBeanAttributes(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 10
    .parameter "xpp"

    .prologue
    .line 730
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v7

    invoke-virtual {v7}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/h2/org/springframework/beans/Bean;

    .line 731
    .local v0, bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeCount()I

    move-result v1

    .line 733
    .local v1, count:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-lt v2, v1, :cond_0

    .line 770
    return-void

    .line 734
    :cond_0
    invoke-interface {p1, v2}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeName(I)Ljava/lang/String;

    move-result-object v3

    .line 735
    .local v3, name:Ljava/lang/String;
    invoke-interface {p1, v2}, Lorg/xmlpull/v1/XmlPullParser;->getAttributePrefix(I)Ljava/lang/String;

    move-result-object v4

    .line 736
    .local v4, prefix:Ljava/lang/String;
    invoke-interface {p1, v2}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(I)Ljava/lang/String;

    move-result-object v6

    .line 738
    .local v6, value:Ljava/lang/String;
    const-string v7, "p"

    invoke-virtual {v7, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_3

    .line 739
    const-string v7, "-ref"

    invoke-virtual {v3, v7}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_2

    .line 740
    new-instance v5, Lcom/h2/org/springframework/beans/PropertyBean;

    invoke-direct {v5}, Lcom/h2/org/springframework/beans/PropertyBean;-><init>()V

    .line 741
    .local v5, prop:Lcom/h2/org/springframework/beans/PropertyBean;
    const/4 v7, 0x0

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v8

    const-string v9, "-ref"

    invoke-virtual {v9}, Ljava/lang/String;->length()I

    move-result v9

    sub-int/2addr v8, v9

    invoke-virtual {v3, v7, v8}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v7}, Lcom/h2/org/springframework/beans/PropertyBean;->setName(Ljava/lang/String;)V

    .line 742
    invoke-virtual {v5, v6}, Lcom/h2/org/springframework/beans/PropertyBean;->setRef(Ljava/lang/String;)V

    .line 743
    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/Bean;->getBeanProperties()Ljava/util/Collection;

    move-result-object v7

    invoke-interface {v7, v5}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    .line 733
    .end local v5           #prop:Lcom/h2/org/springframework/beans/PropertyBean;
    :cond_1
    :goto_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 745
    :cond_2
    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/Bean;->getProperties()Ljava/util/Map;

    move-result-object v7

    invoke-interface {v7, v3, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    .line 748
    :cond_3
    const-string v7, "id"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_4

    .line 749
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setId(Ljava/lang/String;)V

    goto :goto_1

    .line 750
    :cond_4
    const-string v7, "name"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_5

    .line 751
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setName(Ljava/lang/String;)V

    goto :goto_1

    .line 752
    :cond_5
    const-string v7, "class"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_6

    .line 753
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setClazzName(Ljava/lang/String;)V

    goto :goto_1

    .line 754
    :cond_6
    const-string v7, "init-method"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_7

    .line 755
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setInitMethod(Ljava/lang/String;)V

    goto :goto_1

    .line 756
    :cond_7
    const-string v7, "abstract"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_8

    .line 757
    invoke-static {v6}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result v7

    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v7

    invoke-virtual {v0, v7}, Lcom/h2/org/springframework/beans/Bean;->setAbstract(Ljava/lang/Boolean;)V

    goto :goto_1

    .line 758
    :cond_8
    const-string v7, "parent"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_9

    .line 759
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setParent(Ljava/lang/String;)V

    goto :goto_1

    .line 760
    :cond_9
    const-string v7, "scope"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_a

    .line 761
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setScope(Ljava/lang/String;)V

    goto :goto_1

    .line 762
    :cond_a
    const-string v7, "factory-bean"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_b

    .line 763
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setFactoryBean(Ljava/lang/String;)V

    goto :goto_1

    .line 764
    :cond_b
    const-string v7, "factory-method"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_c

    .line 765
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setFactoryMethod(Ljava/lang/String;)V

    goto :goto_1

    .line 766
    :cond_c
    const-string v7, "depends-on"

    invoke-virtual {v7, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_1

    .line 767
    invoke-virtual {v0, v6}, Lcom/h2/org/springframework/beans/Bean;->setDependsOn(Ljava/lang/String;)V

    goto/16 :goto_1
.end method

.method protected processConstructors(Lcom/h2/org/springframework/beans/Bean;)[Ljava/lang/Object;
    .locals 10
    .parameter "bean"

    .prologue
    .line 303
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v5

    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v6

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    invoke-static {v5, v6}, Lcom/h2/util/lang/reflect/ReflectUtils;->getConstructor(Ljava/lang/Class;Ljava/lang/Integer;)Ljava/lang/reflect/Constructor;

    move-result-object v2

    .line 305
    .local v2, method:Ljava/lang/reflect/Constructor;,"Ljava/lang/reflect/Constructor<*>;"
    if-nez v2, :cond_1

    .line 306
    const-string v5, "ClassPathXmlApplicationContext"

    const-string v6, "Constructor does not exist in %s for %d"

    const/4 v7, 0x2

    new-array v7, v7, [Ljava/lang/Object;

    const/4 v8, 0x0

    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v9

    aput-object v9, v7, v8

    const/4 v8, 0x1

    .line 307
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v9

    invoke-interface {v9}, Ljava/util/List;->size()I

    move-result v9

    invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v9

    aput-object v9, v7, v8

    .line 306
    invoke-static {v6, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 308
    const/4 v4, 0x0

    .line 339
    :cond_0
    return-object v4

    .line 310
    :cond_1
    const/4 v0, 0x0

    .line 311
    .local v0, arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-lt v1, v5, :cond_2

    .line 318
    const/4 v1, 0x0

    :goto_1
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-lt v1, v5, :cond_4

    .line 334
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    new-array v4, v5, [Ljava/lang/Object;

    .line 335
    .local v4, results:[Ljava/lang/Object;
    const/4 v1, 0x0

    :goto_2
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-ge v1, v5, :cond_0

    .line 336
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    invoke-interface {v5, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    .end local v0           #arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    check-cast v0, Lcom/h2/org/springframework/beans/ConstructorArg;

    .line 337
    .restart local v0       #arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v5

    aput-object v5, v4, v1

    .line 335
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    .line 312
    .end local v4           #results:[Ljava/lang/Object;
    :cond_2
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    invoke-interface {v5, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    .end local v0           #arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    check-cast v0, Lcom/h2/org/springframework/beans/ConstructorArg;

    .line 313
    .restart local v0       #arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;->getType()Ljava/lang/String;

    move-result-object v5

    if-nez v5, :cond_3

    .line 314
    invoke-virtual {v2}, Ljava/lang/reflect/Constructor;->getParameterTypes()[Ljava/lang/Class;

    move-result-object v5

    aget-object v5, v5, v1

    invoke-virtual {v5}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Lcom/h2/org/springframework/beans/ConstructorArg;->setType(Ljava/lang/String;)V

    .line 311
    :cond_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 319
    :cond_4
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v5

    invoke-interface {v5, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    .end local v0           #arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    check-cast v0, Lcom/h2/org/springframework/beans/ConstructorArg;

    .line 321
    .restart local v0       #arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    const/4 v3, 0x0

    .line 322
    .local v3, ref:Ljava/lang/Object;
    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;->getRef()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_6

    .line 323
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanFactory()Lorg/springframework/beans/factory/BeanFactory;

    move-result-object v5

    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;->getRef()Ljava/lang/String;

    move-result-object v6

    invoke-interface {v5, v6}, Lorg/springframework/beans/factory/BeanFactory;->getBean(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    .line 331
    .end local v3           #ref:Ljava/lang/Object;
    :cond_5
    :goto_3
    invoke-virtual {v0, v3}, Lcom/h2/org/springframework/beans/ConstructorArg;->setInstantiatedObject(Ljava/lang/Object;)V

    .line 318
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 324
    .restart local v3       #ref:Ljava/lang/Object;
    :cond_6
    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;->getBean()Lcom/h2/org/springframework/beans/Bean;

    move-result-object v5

    if-nez v5, :cond_5

    .line 326
    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;->getValue()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_5

    .line 328
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    move-result-object v5

    if-nez v5, :cond_7

    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;->getValue()Ljava/lang/String;

    move-result-object v5

    .line 329
    :goto_4
    invoke-virtual {v2}, Ljava/lang/reflect/Constructor;->getParameterTypes()[Ljava/lang/Class;

    move-result-object v6

    aget-object v6, v6, v1

    .line 327
    invoke-static {v5, v6}, Lorg/springframework/beans/BeanUtils;->convertToBean(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v3

    goto :goto_3

    .line 328
    :cond_7
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    move-result-object v5

    .line 329
    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;->getValue()Ljava/lang/String;

    move-result-object v6

    .line 328
    invoke-interface {v5, v6}, Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;->resolvePlaceholder(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    goto :goto_4
.end method

.method protected processContext(Ljava/lang/String;)V
    .locals 7
    .parameter "location"

    .prologue
    .line 185
    const/4 v1, 0x0

    .line 187
    .local v1, factory:Lorg/xmlpull/v1/XmlPullParserFactory;
    :try_start_0
    const-string v4, "org.xmlpull.v1.XmlPullParserFactory"

    invoke-static {v4}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    const/4 v5, 0x0

    invoke-static {v4, v5}, Lorg/xmlpull/v1/XmlPullParserFactory;->newInstance(Ljava/lang/String;Ljava/lang/Class;)Lorg/xmlpull/v1/XmlPullParserFactory;
    :try_end_0
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    .line 193
    :goto_0
    const/4 v4, 0x1

    invoke-virtual {v1, v4}, Lorg/xmlpull/v1/XmlPullParserFactory;->setNamespaceAware(Z)V

    .line 195
    :try_start_1
    invoke-virtual {v1}, Lorg/xmlpull/v1/XmlPullParserFactory;->newPullParser()Lorg/xmlpull/v1/XmlPullParser;

    move-result-object v3

    .line 196
    .local v3, xpp:Lorg/xmlpull/v1/XmlPullParser;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getResorceManager()Lcom/h2/org/springframework/beans/factory/IResourceManager;

    move-result-object v4

    new-instance v5, Ljava/io/File;

    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getResourceResolver()Lcom/h2/org/springframework/beans/factory/ResourceResolver;

    move-result-object v6

    invoke-virtual {v6, p1}, Lcom/h2/org/springframework/beans/factory/ResourceResolver;->resolvePath(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-interface {v4, v5}, Lcom/h2/org/springframework/beans/factory/IResourceManager;->getReader(Ljava/io/File;)Ljava/io/Reader;

    move-result-object v2

    .line 197
    .local v2, reader:Ljava/io/Reader;
    invoke-interface {v3, v2}, Lorg/xmlpull/v1/XmlPullParser;->setInput(Ljava/io/Reader;)V

    .line 199
    invoke-virtual {p0, v3}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processDocument(Lorg/xmlpull/v1/XmlPullParser;)V

    .line 201
    invoke-virtual {v2}, Ljava/io/Reader;->close()V
    :try_end_1
    .catch Lorg/xmlpull/v1/XmlPullParserException; {:try_start_1 .. :try_end_1} :catch_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_2

    .line 211
    .end local v2           #reader:Ljava/io/Reader;
    .end local v3           #xpp:Lorg/xmlpull/v1/XmlPullParser;
    :goto_1
    return-void

    .line 189
    :catch_0
    move-exception v0

    .line 190
    .local v0, exp:Lorg/xmlpull/v1/XmlPullParserException;
    const-string v4, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Lorg/xmlpull/v1/XmlPullParserException;->getMessage()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 191
    const-string v4, "ClassPathXmlApplicationContext"

    const-string v5, "Details: "

    invoke-static {v4, v5, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_0

    .line 203
    .end local v0           #exp:Lorg/xmlpull/v1/XmlPullParserException;
    :catch_1
    move-exception v0

    .line 204
    .restart local v0       #exp:Lorg/xmlpull/v1/XmlPullParserException;
    const-string v4, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Lorg/xmlpull/v1/XmlPullParserException;->getMessage()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 205
    const-string v4, "ClassPathXmlApplicationContext"

    const-string v5, "Details: "

    invoke-static {v4, v5, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1

    .line 207
    .end local v0           #exp:Lorg/xmlpull/v1/XmlPullParserException;
    :catch_2
    move-exception v0

    .line 208
    .local v0, exp:Ljava/io/IOException;
    const-string v4, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 209
    const-string v4, "ClassPathXmlApplicationContext"

    const-string v5, "Details: "

    invoke-static {v4, v5, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1
.end method

.method public processDocument(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 4
    .parameter "xpp"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lorg/xmlpull/v1/XmlPullParserException;,
            Ljava/io/IOException;
        }
    .end annotation

    .prologue
    const/4 v3, 0x1

    .line 554
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getEventType()I

    move-result v0

    .line 556
    .local v0, eventType:I
    :cond_0
    if-nez v0, :cond_2

    .line 557
    const-string v1, "ClassPathXmlApplicationContext"

    const-string v2, "Start Document"

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 567
    :cond_1
    :goto_0
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->next()I

    move-result v0

    .line 568
    if-ne v0, v3, :cond_0

    .line 569
    return-void

    .line 558
    :cond_2
    if-ne v0, v3, :cond_3

    .line 559
    const-string v1, "ClassPathXmlApplicationContext"

    const-string v2, "End document"

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0

    .line 560
    :cond_3
    const/4 v1, 0x2

    if-ne v0, v1, :cond_4

    .line 561
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processStartElement(Lorg/xmlpull/v1/XmlPullParser;)V

    goto :goto_0

    .line 562
    :cond_4
    const/4 v1, 0x3

    if-ne v0, v1, :cond_5

    .line 563
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processEndElement(Lorg/xmlpull/v1/XmlPullParser;)V

    goto :goto_0

    .line 564
    :cond_5
    const/4 v1, 0x4

    if-ne v0, v1, :cond_1

    .line 565
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processText(Lorg/xmlpull/v1/XmlPullParser;)V

    goto :goto_0
.end method

.method public processEndElement(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 5
    .parameter "xpp"

    .prologue
    .line 624
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;

    move-result-object v1

    .line 626
    .local v1, name:Ljava/lang/String;
    const-string v3, "bean"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    const-string v3, "list"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    const-string v3, "set"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    const-string v3, "map"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_4

    .line 627
    :cond_0
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->pop()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/h2/org/springframework/beans/Bean;

    .line 629
    .local v0, lastBean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_3

    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v3

    instance-of v3, v3, Lcom/h2/org/springframework/beans/UtilBean;

    if-eqz v3, :cond_3

    .line 630
    new-instance v2, Lcom/h2/org/springframework/beans/PropertyBean;

    invoke-direct {v2}, Lcom/h2/org/springframework/beans/PropertyBean;-><init>()V

    .line 631
    .local v2, prop:Lcom/h2/org/springframework/beans/PropertyBean;
    invoke-virtual {v2, v0}, Lcom/h2/org/springframework/beans/PropertyBean;->setBean(Lcom/h2/org/springframework/beans/Bean;)V

    .line 632
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/h2/org/springframework/beans/Bean;

    invoke-virtual {v3}, Lcom/h2/org/springframework/beans/Bean;->getBeanProperties()Ljava/util/Collection;

    move-result-object v3

    invoke-interface {v3, v2}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    .line 639
    .end local v2           #prop:Lcom/h2/org/springframework/beans/PropertyBean;
    :cond_1
    :goto_0
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->isEmpty()Z

    move-result v3

    if-eqz v3, :cond_2

    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/Bean;->getNameResolved()Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_2

    .line 640
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanPreProcess()Ljava/util/Map;

    move-result-object v3

    invoke-virtual {v0}, Lcom/h2/org/springframework/beans/Bean;->getNameResolved()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v3, v4, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 649
    .end local v0           #lastBean:Lcom/h2/org/springframework/beans/Bean;
    :cond_2
    :goto_1
    return-void

    .line 633
    .restart local v0       #lastBean:Lcom/h2/org/springframework/beans/Bean;
    :cond_3
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_1

    .line 635
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/h2/org/springframework/beans/IValueBean;

    invoke-interface {v3, v0}, Lcom/h2/org/springframework/beans/IValueBean;->setBean(Lcom/h2/org/springframework/beans/Bean;)V

    goto :goto_0

    .line 642
    .end local v0           #lastBean:Lcom/h2/org/springframework/beans/Bean;
    :cond_4
    const-string v3, "property"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_5

    const-string v3, "ref"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_6

    .line 643
    :cond_5
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/h2/org/springframework/beans/Bean;

    invoke-virtual {v3}, Lcom/h2/org/springframework/beans/Bean;->getBeanProperties()Ljava/util/Collection;

    move-result-object v4

    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->pop()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/h2/org/springframework/beans/IValueBean;

    invoke-interface {v4, v3}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 644
    :cond_6
    const-string v3, "constructor-arg"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_7

    .line 645
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/h2/org/springframework/beans/Bean;

    invoke-virtual {v3}, Lcom/h2/org/springframework/beans/Bean;->getConstructorArgs()Ljava/util/List;

    move-result-object v4

    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Stack;->pop()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/h2/org/springframework/beans/ConstructorArg;

    invoke-interface {v4, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 646
    :cond_7
    const-string v3, "properties"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    goto :goto_1
.end method

.method protected processImportAttributes(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 5
    .parameter "xpp"

    .prologue
    .line 681
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeCount()I

    move-result v0

    .line 683
    .local v0, count:I
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    if-lt v1, v0, :cond_0

    .line 692
    return-void

    .line 684
    :cond_0
    invoke-interface {p1, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeName(I)Ljava/lang/String;

    move-result-object v2

    .line 686
    .local v2, name:Ljava/lang/String;
    invoke-interface {p1, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(I)Ljava/lang/String;

    move-result-object v3

    .line 688
    .local v3, value:Ljava/lang/String;
    const-string v4, "resource"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 689
    invoke-virtual {p0, v3}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processContext(Ljava/lang/String;)V

    .line 683
    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method

.method protected processInitMethod(Lcom/h2/org/springframework/beans/Bean;)V
    .locals 7
    .parameter "bean"

    .prologue
    const/4 v6, 0x0

    .line 489
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getInitMethod()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 490
    const/4 v1, 0x0

    .line 492
    .local v1, method:Ljava/lang/reflect/Method;
    :try_start_0
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getInitMethod()Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Class;

    invoke-virtual {v2, v3, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
    :try_end_0
    .catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_4
    .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_3

    move-result-object v1

    .line 500
    :goto_0
    if-nez v1, :cond_1

    .line 501
    const-string v2, "ClassPathXmlApplicationContext"

    const-string v3, "Method does not exist in %s for %s"

    const/4 v4, 0x2

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v5

    aput-object v5, v4, v6

    const/4 v5, 0x1

    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getInitMethod()Ljava/lang/String;

    move-result-object v6

    aput-object v6, v4, v5

    invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 520
    .end local v1           #method:Ljava/lang/reflect/Method;
    :cond_0
    :goto_1
    return-void

    .line 505
    .restart local v1       #method:Ljava/lang/reflect/Method;
    :cond_1
    :try_start_1
    invoke-virtual {p1}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v2

    const/4 v3, 0x0

    new-array v3, v3, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_1
    .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_1
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_2

    goto :goto_1

    .line 507
    :catch_0
    move-exception v0

    .line 508
    .local v0, exp:Ljava/lang/IllegalArgumentException;
    const-string v2, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 509
    const-string v2, "ClassPathXmlApplicationContext"

    const-string v3, "Details: "

    invoke-static {v2, v3, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1

    .line 511
    .end local v0           #exp:Ljava/lang/IllegalArgumentException;
    :catch_1
    move-exception v0

    .line 512
    .local v0, exp:Ljava/lang/IllegalAccessException;
    const-string v2, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/lang/IllegalAccessException;->getMessage()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 513
    const-string v2, "ClassPathXmlApplicationContext"

    const-string v3, "Details: "

    invoke-static {v2, v3, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1

    .line 515
    .end local v0           #exp:Ljava/lang/IllegalAccessException;
    :catch_2
    move-exception v0

    .line 516
    .local v0, exp:Ljava/lang/reflect/InvocationTargetException;
    const-string v2, "ClassPathXmlApplicationContext"

    invoke-virtual {v0}, Ljava/lang/reflect/InvocationTargetException;->getMessage()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 517
    const-string v2, "ClassPathXmlApplicationContext"

    const-string v3, "Details: "

    invoke-static {v2, v3, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_1

    .line 497
    .end local v0           #exp:Ljava/lang/reflect/InvocationTargetException;
    :catch_3
    move-exception v2

    goto :goto_0

    .line 494
    :catch_4
    move-exception v2

    goto :goto_0
.end method

.method protected processInnerBean(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;)V
    .locals 17
    .parameter "factory"
    .parameter "bean"

    .prologue
    .line 344
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getBeanProperties()Ljava/util/Collection;

    move-result-object v3

    .line 345
    .local v3, beanProperties:Ljava/util/Collection;,"Ljava/util/Collection<Lcom/h2/org/springframework/beans/IValueBean;>;"
    if-eqz v3, :cond_2

    .line 348
    move-object/from16 v0, p2

    instance-of v11, v0, Lcom/h2/org/springframework/beans/UtilBean;

    if-eqz v11, :cond_5

    .line 350
    const/4 v7, 0x0

    .line 351
    .local v7, method:Ljava/lang/reflect/Method;
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v11

    instance-of v11, v11, Ljava/util/List;

    if-nez v11, :cond_0

    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v11

    instance-of v11, v11, Ljava/util/Set;

    if-eqz v11, :cond_4

    .line 352
    :cond_0
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v11

    const-string v12, "add"

    const/4 v13, 0x1

    new-array v13, v13, [Ljava/lang/Class;

    const/4 v14, 0x0

    const-class v15, Ljava/lang/Object;

    aput-object v15, v13, v14

    invoke-static {v11, v12, v13}, Lorg/springframework/util/ReflectionUtils;->findMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v7

    .line 354
    invoke-interface {v3}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v11

    :goto_0
    invoke-interface {v11}, Ljava/util/Iterator;->hasNext()Z

    move-result v12

    if-nez v12, :cond_3

    .line 418
    .end local v7           #method:Ljava/lang/reflect/Method;
    :cond_1
    :goto_1
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getProperties()Ljava/util/Map;

    move-result-object v9

    .line 419
    .local v9, properties:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    if-eqz v9, :cond_2

    .line 420
    invoke-interface {v9}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v11

    invoke-interface {v11}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v12

    :goto_2
    invoke-interface {v12}, Ljava/util/Iterator;->hasNext()Z

    move-result v11

    if-nez v11, :cond_8

    .line 459
    .end local v9           #properties:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    :cond_2
    move-object/from16 v0, p0

    move-object/from16 v1, p2

    invoke-virtual {v0, v1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processInitMethod(Lcom/h2/org/springframework/beans/Bean;)V

    .line 461
    invoke-virtual/range {p0 .. p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanListeners()Ljava/util/Collection;

    move-result-object v11

    invoke-interface {v11}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v11

    :goto_3
    invoke-interface {v11}, Ljava/util/Iterator;->hasNext()Z

    move-result v12

    if-nez v12, :cond_c

    .line 464
    return-void

    .line 354
    .restart local v7       #method:Ljava/lang/reflect/Method;
    :cond_3
    invoke-interface {v11}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lcom/h2/org/springframework/beans/IValueBean;

    .line 355
    .local v8, prop:Lcom/h2/org/springframework/beans/IValueBean;
    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    invoke-virtual {v0, v1, v2, v8, v7}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->evaluateProperty(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;Lcom/h2/org/springframework/beans/IValueBean;Ljava/lang/reflect/Method;)Ljava/lang/Object;

    move-result-object v10

    .line 357
    .local v10, ref:Ljava/lang/Object;
    :try_start_0
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v12

    const/4 v13, 0x1

    new-array v13, v13, [Ljava/lang/Object;

    const/4 v14, 0x0

    aput-object v10, v13, v14

    invoke-virtual {v7, v12, v13}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_2

    goto :goto_0

    .line 359
    :catch_0
    move-exception v5

    .line 360
    .local v5, exp:Ljava/lang/IllegalArgumentException;
    const-string v12, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 361
    const-string v12, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v12, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 362
    const-string v12, "ClassPathXmlApplicationContext"

    new-instance v13, Ljava/lang/StringBuilder;

    const-string v14, "Method: "

    invoke-direct {v13, v14}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0

    .line 364
    .end local v5           #exp:Ljava/lang/IllegalArgumentException;
    :catch_1
    move-exception v5

    .line 365
    .local v5, exp:Ljava/lang/IllegalAccessException;
    const-string v12, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/IllegalAccessException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 366
    const-string v12, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v12, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 367
    const-string v12, "ClassPathXmlApplicationContext"

    new-instance v13, Ljava/lang/StringBuilder;

    const-string v14, "Method: "

    invoke-direct {v13, v14}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_0

    .line 369
    .end local v5           #exp:Ljava/lang/IllegalAccessException;
    :catch_2
    move-exception v5

    .line 370
    .local v5, exp:Ljava/lang/reflect/InvocationTargetException;
    const-string v12, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/reflect/InvocationTargetException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 371
    const-string v12, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v12, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 372
    const-string v12, "ClassPathXmlApplicationContext"

    new-instance v13, Ljava/lang/StringBuilder;

    const-string v14, "Method: "

    invoke-direct {v13, v14}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_0

    .line 375
    .end local v5           #exp:Ljava/lang/reflect/InvocationTargetException;
    .end local v8           #prop:Lcom/h2/org/springframework/beans/IValueBean;
    .end local v10           #ref:Ljava/lang/Object;
    :cond_4
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v11

    instance-of v11, v11, Ljava/util/Map;

    if-eqz v11, :cond_1

    .line 376
    const-class v11, Ljava/util/List;

    const-string v12, "put"

    const/4 v13, 0x2

    new-array v13, v13, [Ljava/lang/Class;

    const/4 v14, 0x0

    const-class v15, Ljava/lang/Object;

    aput-object v15, v13, v14

    const/4 v14, 0x1

    const-class v15, Ljava/lang/Object;

    aput-object v15, v13, v14

    invoke-static {v11, v12, v13}, Lorg/springframework/util/ReflectionUtils;->findMethod(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v7

    goto/16 :goto_1

    .line 380
    .end local v7           #method:Ljava/lang/reflect/Method;
    :cond_5
    invoke-interface {v3}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v11

    :goto_4
    invoke-interface {v11}, Ljava/util/Iterator;->hasNext()Z

    move-result v12

    if-eqz v12, :cond_1

    invoke-interface {v11}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lcom/h2/org/springframework/beans/IValueBean;

    .line 383
    .restart local v8       #prop:Lcom/h2/org/springframework/beans/IValueBean;
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v12

    invoke-interface {v8}, Lcom/h2/org/springframework/beans/IValueBean;->getName()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Lcom/h2/util/lang/reflect/ReflectUtils;->getSetterMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;

    move-result-object v7

    .line 384
    .restart local v7       #method:Ljava/lang/reflect/Method;
    if-nez v7, :cond_6

    .line 385
    const-string v12, "ClassPathXmlApplicationContext"

    const-string v13, "Method does not exist in %s for %s"

    const/4 v14, 0x2

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-interface {v8}, Lcom/h2/org/springframework/beans/IValueBean;->getName()Ljava/lang/String;

    move-result-object v16

    aput-object v16, v14, v15

    invoke-static {v13, v14}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_4

    .line 390
    :cond_6
    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    invoke-virtual {v0, v1, v2, v8, v7}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->evaluateProperty(Lcom/h2/org/springframework/beans/factory/SimpleBeanFactory;Lcom/h2/org/springframework/beans/Bean;Lcom/h2/org/springframework/beans/IValueBean;Ljava/lang/reflect/Method;)Ljava/lang/Object;

    move-result-object v10

    .line 391
    .restart local v10       #ref:Ljava/lang/Object;
    if-nez v10, :cond_7

    .line 392
    const-string v12, "ClassPathXmlApplicationContext"

    const-string v13, "Reference is null for %s %s."

    const/4 v14, 0x2

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-interface {v8}, Lcom/h2/org/springframework/beans/IValueBean;->getName()Ljava/lang/String;

    move-result-object v16

    aput-object v16, v14, v15

    invoke-static {v13, v14}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_4

    .line 398
    :cond_7
    :try_start_1
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v12

    const/4 v13, 0x1

    new-array v13, v13, [Ljava/lang/Object;

    const/4 v14, 0x0

    aput-object v10, v13, v14

    invoke-virtual {v7, v12, v13}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_1
    .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_1} :catch_3
    .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_4
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_5

    goto :goto_4

    .line 400
    :catch_3
    move-exception v5

    .line 401
    .local v5, exp:Ljava/lang/IllegalArgumentException;
    const-string v12, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 402
    const-string v12, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v12, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 403
    const-string v12, "ClassPathXmlApplicationContext"

    new-instance v13, Ljava/lang/StringBuilder;

    const-string v14, "Method: "

    invoke-direct {v13, v14}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_4

    .line 405
    .end local v5           #exp:Ljava/lang/IllegalArgumentException;
    :catch_4
    move-exception v5

    .line 406
    .local v5, exp:Ljava/lang/IllegalAccessException;
    const-string v12, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/IllegalAccessException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 407
    const-string v12, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v12, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 408
    const-string v12, "ClassPathXmlApplicationContext"

    new-instance v13, Ljava/lang/StringBuilder;

    const-string v14, "Method: "

    invoke-direct {v13, v14}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_4

    .line 410
    .end local v5           #exp:Ljava/lang/IllegalAccessException;
    :catch_5
    move-exception v5

    .line 411
    .local v5, exp:Ljava/lang/reflect/InvocationTargetException;
    const-string v12, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/reflect/InvocationTargetException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 412
    const-string v12, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v12, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    .line 413
    const-string v12, "ClassPathXmlApplicationContext"

    new-instance v13, Ljava/lang/StringBuilder;

    const-string v14, "Method: "

    invoke-direct {v13, v14}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v13, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-static {v12, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_4

    .line 420
    .end local v5           #exp:Ljava/lang/reflect/InvocationTargetException;
    .end local v7           #method:Ljava/lang/reflect/Method;
    .end local v8           #prop:Lcom/h2/org/springframework/beans/IValueBean;
    .end local v10           #ref:Ljava/lang/Object;
    .restart local v9       #properties:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    :cond_8
    invoke-interface {v12}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/Map$Entry;

    .line 422
    .local v4, entry:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;"
    const/4 v10, 0x0

    .line 424
    .restart local v10       #ref:Ljava/lang/Object;
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v13

    invoke-interface {v4}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/lang/String;

    invoke-static {v13, v11}, Lcom/h2/util/lang/reflect/ReflectUtils;->getSetterMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;

    move-result-object v7

    .line 425
    .restart local v7       #method:Ljava/lang/reflect/Method;
    if-nez v7, :cond_9

    .line 426
    const-string v11, "ClassPathXmlApplicationContext"

    const-string v13, "Method does not exist in %s for %s"

    const/4 v14, 0x2

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-interface {v4}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v16

    aput-object v16, v14, v15

    invoke-static {v13, v14}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v13

    invoke-static {v11, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_2

    .line 430
    :cond_9
    invoke-virtual/range {p0 .. p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    move-result-object v11

    if-nez v11, :cond_a

    invoke-interface {v4}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/lang/String;

    .line 431
    :goto_5
    invoke-virtual {v7}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;

    move-result-object v13

    const/4 v14, 0x0

    aget-object v13, v13, v14

    .line 429
    invoke-static {v11, v13}, Lorg/springframework/beans/BeanUtils;->convertToBean(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v10

    .line 434
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v13

    invoke-interface {v4}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/lang/String;

    .line 435
    invoke-virtual {v7}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;

    move-result-object v14

    const/4 v15, 0x0

    aget-object v14, v14, v15

    .line 434
    invoke-static {v13, v11, v14}, Lcom/h2/util/lang/reflect/ReflectUtils;->getSetterMethod(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v7

    .line 436
    if-nez v7, :cond_b

    .line 437
    const-string v11, "ClassPathXmlApplicationContext"

    const-string v13, "Method does not exist in %s for %s"

    const/4 v14, 0x2

    new-array v14, v14, [Ljava/lang/Object;

    const/4 v15, 0x0

    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getClazz()Ljava/lang/Class;

    move-result-object v16

    aput-object v16, v14, v15

    const/4 v15, 0x1

    invoke-interface {v4}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v16

    aput-object v16, v14, v15

    invoke-static {v13, v14}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v13

    invoke-static {v11, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_2

    .line 430
    :cond_a
    invoke-virtual/range {p0 .. p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getPlaceholderResolver()Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    move-result-object v13

    .line 431
    invoke-interface {v4}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/lang/String;

    invoke-interface {v13, v11}, Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;->resolvePlaceholder(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    goto :goto_5

    .line 441
    :cond_b
    :try_start_2
    invoke-virtual/range {p2 .. p2}, Lcom/h2/org/springframework/beans/Bean;->getInstantiatedObject()Ljava/lang/Object;

    move-result-object v11

    const/4 v13, 0x1

    new-array v13, v13, [Ljava/lang/Object;

    const/4 v14, 0x0

    aput-object v10, v13, v14

    invoke-virtual {v7, v11, v13}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_2
    .catch Ljava/lang/IllegalArgumentException; {:try_start_2 .. :try_end_2} :catch_6
    .catch Ljava/lang/IllegalAccessException; {:try_start_2 .. :try_end_2} :catch_7
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_2 .. :try_end_2} :catch_8

    goto/16 :goto_2

    .line 443
    :catch_6
    move-exception v5

    .line 444
    .local v5, exp:Ljava/lang/IllegalArgumentException;
    const-string v11, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/IllegalArgumentException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v11, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 445
    const-string v11, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v11, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_2

    .line 447
    .end local v5           #exp:Ljava/lang/IllegalArgumentException;
    :catch_7
    move-exception v5

    .line 448
    .local v5, exp:Ljava/lang/IllegalAccessException;
    const-string v11, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/IllegalAccessException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v11, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 449
    const-string v11, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v11, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_2

    .line 451
    .end local v5           #exp:Ljava/lang/IllegalAccessException;
    :catch_8
    move-exception v5

    .line 452
    .local v5, exp:Ljava/lang/reflect/InvocationTargetException;
    const-string v11, "ClassPathXmlApplicationContext"

    invoke-virtual {v5}, Ljava/lang/reflect/InvocationTargetException;->getMessage()Ljava/lang/String;

    move-result-object v13

    invoke-static {v11, v13}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 453
    const-string v11, "ClassPathXmlApplicationContext"

    const-string v13, "Details: "

    invoke-static {v11, v13, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    goto/16 :goto_2

    .line 461
    .end local v4           #entry:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;"
    .end local v5           #exp:Ljava/lang/reflect/InvocationTargetException;
    .end local v7           #method:Ljava/lang/reflect/Method;
    .end local v9           #properties:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    .end local v10           #ref:Ljava/lang/Object;
    :cond_c
    invoke-interface {v11}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/h2/org/springframework/beans/IBeanListener;

    .line 462
    .local v6, listener:Lcom/h2/org/springframework/beans/IBeanListener;
    move-object/from16 v0, p2

    invoke-interface {v6, v0}, Lcom/h2/org/springframework/beans/IBeanListener;->afterInitialization(Lcom/h2/org/springframework/beans/Bean;)V

    goto/16 :goto_3
.end method

.method protected processRef(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 5
    .parameter "xpp"

    .prologue
    .line 695
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeCount()I

    move-result v0

    .line 697
    .local v0, count:I
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    if-lt v1, v0, :cond_0

    .line 710
    return-void

    .line 698
    :cond_0
    invoke-interface {p1, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeName(I)Ljava/lang/String;

    move-result-object v2

    .line 699
    .local v2, name:Ljava/lang/String;
    invoke-interface {p1, v1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(I)Ljava/lang/String;

    move-result-object v3

    .line 701
    .local v3, value:Ljava/lang/String;
    const-string v4, "local"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_1

    const-string v4, "bean"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 707
    :cond_1
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/h2/org/springframework/beans/IValueBean;

    invoke-interface {v4, v3}, Lcom/h2/org/springframework/beans/IValueBean;->setRef(Ljava/lang/String;)V

    .line 697
    :cond_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method

.method public processStartElement(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 7
    .parameter "xpp"

    .prologue
    .line 572
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;

    move-result-object v2

    .line 574
    .local v2, name:Ljava/lang/String;
    const-string v4, "bean"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 575
    new-instance v4, Lcom/h2/org/springframework/beans/Bean;

    invoke-direct {v4}, Lcom/h2/org/springframework/beans/Bean;-><init>()V

    invoke-direct {p0, v4}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->initBean(Lcom/h2/org/springframework/beans/Bean;)Lcom/h2/org/springframework/beans/Bean;

    move-result-object v1

    .line 576
    .local v1, bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    .line 578
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processBeanAttributes(Lorg/xmlpull/v1/XmlPullParser;)V

    .line 579
    const-string v4, "ClassPathXmlApplicationContext"

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "Created: "

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 621
    .end local v1           #bean:Lcom/h2/org/springframework/beans/Bean;
    :cond_0
    :goto_0
    return-void

    .line 580
    :cond_1
    const-string v4, "property"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 581
    new-instance v3, Lcom/h2/org/springframework/beans/PropertyBean;

    invoke-direct {v3}, Lcom/h2/org/springframework/beans/PropertyBean;-><init>()V

    .line 582
    .local v3, prop:Lcom/h2/org/springframework/beans/PropertyBean;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v4

    invoke-virtual {v4, v3}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    .line 584
    invoke-direct {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processPropertyBeanAttributes(Lorg/xmlpull/v1/XmlPullParser;)V

    .line 585
    const-string v4, "ClassPathXmlApplicationContext"

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "Created: "

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0

    .line 586
    .end local v3           #prop:Lcom/h2/org/springframework/beans/PropertyBean;
    :cond_2
    const-string v4, "constructor-arg"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_3

    .line 587
    new-instance v0, Lcom/h2/org/springframework/beans/ConstructorArg;

    invoke-direct {v0}, Lcom/h2/org/springframework/beans/ConstructorArg;-><init>()V

    .line 588
    .local v0, arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v4

    invoke-virtual {v4, v0}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    .line 590
    invoke-direct {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processBeanConstructorArg(Lorg/xmlpull/v1/XmlPullParser;)V

    goto :goto_0

    .line 591
    .end local v0           #arg:Lcom/h2/org/springframework/beans/ConstructorArg;
    :cond_3
    const-string v4, "value"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 593
    const-string v4, "ref"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_4

    .line 594
    new-instance v3, Lcom/h2/org/springframework/beans/PropertyBean;

    invoke-direct {v3}, Lcom/h2/org/springframework/beans/PropertyBean;-><init>()V

    .line 595
    .restart local v3       #prop:Lcom/h2/org/springframework/beans/PropertyBean;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v4

    invoke-virtual {v4, v3}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    .line 597
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processRef(Lorg/xmlpull/v1/XmlPullParser;)V

    goto :goto_0

    .line 598
    .end local v3           #prop:Lcom/h2/org/springframework/beans/PropertyBean;
    :cond_4
    const-string v4, "list"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_5

    .line 599
    new-instance v4, Lcom/h2/org/springframework/beans/UtilBean;

    invoke-direct {v4}, Lcom/h2/org/springframework/beans/UtilBean;-><init>()V

    invoke-direct {p0, v4}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->initBean(Lcom/h2/org/springframework/beans/Bean;)Lcom/h2/org/springframework/beans/Bean;

    move-result-object v1

    .line 600
    .restart local v1       #bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    .line 601
    const-class v4, Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/h2/org/springframework/beans/Bean;->setClazzName(Ljava/lang/String;)V

    .line 603
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processUtilBeanAttributes(Lorg/xmlpull/v1/XmlPullParser;)V

    goto/16 :goto_0

    .line 604
    .end local v1           #bean:Lcom/h2/org/springframework/beans/Bean;
    :cond_5
    const-string v4, "set"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_6

    .line 605
    new-instance v4, Lcom/h2/org/springframework/beans/UtilBean;

    invoke-direct {v4}, Lcom/h2/org/springframework/beans/UtilBean;-><init>()V

    invoke-direct {p0, v4}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->initBean(Lcom/h2/org/springframework/beans/Bean;)Lcom/h2/org/springframework/beans/Bean;

    move-result-object v1

    .line 606
    .restart local v1       #bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    .line 607
    const-class v4, Ljava/util/HashSet;

    invoke-virtual {v4}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/h2/org/springframework/beans/Bean;->setClazzName(Ljava/lang/String;)V

    .line 609
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processUtilBeanAttributes(Lorg/xmlpull/v1/XmlPullParser;)V

    goto/16 :goto_0

    .line 610
    .end local v1           #bean:Lcom/h2/org/springframework/beans/Bean;
    :cond_6
    const-string v4, "map"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_7

    .line 611
    new-instance v4, Lcom/h2/org/springframework/beans/UtilBean;

    invoke-direct {v4}, Lcom/h2/org/springframework/beans/UtilBean;-><init>()V

    invoke-direct {p0, v4}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->initBean(Lcom/h2/org/springframework/beans/Bean;)Lcom/h2/org/springframework/beans/Bean;

    move-result-object v1

    .line 612
    .restart local v1       #bean:Lcom/h2/org/springframework/beans/Bean;
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    .line 613
    const-class v4, Ljava/util/HashMap;

    invoke-virtual {v4}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/h2/org/springframework/beans/Bean;->setClazzName(Ljava/lang/String;)V

    .line 615
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processUtilBeanAttributes(Lorg/xmlpull/v1/XmlPullParser;)V

    goto/16 :goto_0

    .line 616
    .end local v1           #bean:Lcom/h2/org/springframework/beans/Bean;
    :cond_7
    const-string v4, "properties"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 618
    const-string v4, "import"

    invoke-virtual {v4, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 619
    invoke-virtual {p0, p1}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->processImportAttributes(Lorg/xmlpull/v1/XmlPullParser;)V

    goto/16 :goto_0
.end method

.method public processText(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 3
    .parameter "xpp"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lorg/xmlpull/v1/XmlPullParserException;
        }
    .end annotation

    .prologue
    .line 796
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getText()Ljava/lang/String;

    move-result-object v1

    .line 797
    .local v1, text:Ljava/lang/String;
    const-string v2, "\\s*"

    invoke-virtual {v1, v2}, Ljava/lang/String;->matches(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 806
    :cond_0
    :goto_0
    return-void

    .line 799
    :cond_1
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Stack;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_2

    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v2

    instance-of v2, v2, Lcom/h2/org/springframework/beans/UtilBean;

    if-eqz v2, :cond_2

    .line 800
    new-instance v0, Lcom/h2/org/springframework/beans/PropertyBean;

    invoke-direct {v0}, Lcom/h2/org/springframework/beans/PropertyBean;-><init>()V

    .line 801
    .local v0, prop:Lcom/h2/org/springframework/beans/PropertyBean;
    invoke-virtual {v0, v1}, Lcom/h2/org/springframework/beans/PropertyBean;->setValue(Ljava/lang/String;)V

    .line 802
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/h2/org/springframework/beans/Bean;

    invoke-virtual {v2}, Lcom/h2/org/springframework/beans/Bean;->getBeanProperties()Ljava/util/Collection;

    move-result-object v2

    invoke-interface {v2, v0}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 803
    .end local v0           #prop:Lcom/h2/org/springframework/beans/PropertyBean;
    :cond_2
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Stack;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_0

    .line 804
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getValueBeanStack()Ljava/util/Stack;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/h2/org/springframework/beans/IValueBean;

    invoke-interface {v2, v1}, Lcom/h2/org/springframework/beans/IValueBean;->setValue(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public processUtilBeanAttributes(Lorg/xmlpull/v1/XmlPullParser;)V
    .locals 6
    .parameter "xpp"

    .prologue
    .line 773
    invoke-virtual {p0}, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->getBeanStack()Ljava/util/Stack;

    move-result-object v5

    invoke-virtual {v5}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/h2/org/springframework/beans/UtilBean;

    .line 774
    .local v0, bean:Lcom/h2/org/springframework/beans/UtilBean;
    invoke-interface {p1}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeCount()I

    move-result v1

    .line 776
    .local v1, count:I
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    if-lt v2, v1, :cond_0

    .line 792
    return-void

    .line 777
    :cond_0
    invoke-interface {p1, v2}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeName(I)Ljava/lang/String;

    move-result-object v3

    .line 778
    .local v3, name:Ljava/lang/String;
    invoke-interface {p1, v2}, Lorg/xmlpull/v1/XmlPullParser;->getAttributeValue(I)Ljava/lang/String;

    move-result-object v4

    .line 780
    .local v4, value:Ljava/lang/String;
    const-string v5, "id"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 781
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/UtilBean;->setId(Ljava/lang/String;)V

    .line 776
    :cond_1
    :goto_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 782
    :cond_2
    const-string v5, "name"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_3

    .line 783
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/UtilBean;->setName(Ljava/lang/String;)V

    goto :goto_1

    .line 784
    :cond_3
    const-string v5, "scope"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_4

    .line 785
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/UtilBean;->setScope(Ljava/lang/String;)V

    goto :goto_1

    .line 786
    :cond_4
    const-string v5, "-class"

    invoke-virtual {v3, v5}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_5

    .line 787
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/UtilBean;->setClazzName(Ljava/lang/String;)V

    goto :goto_1

    .line 788
    :cond_5
    const-string v5, "value-type"

    invoke-virtual {v5, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_1

    .line 789
    invoke-virtual {v0, v4}, Lcom/h2/org/springframework/beans/UtilBean;->setValueType(Ljava/lang/String;)V

    goto :goto_1
.end method

.method public setBeanListeners(Ljava/util/Collection;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Collection",
            "<",
            "Lcom/h2/org/springframework/beans/IBeanListener;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 917
    .local p1, beanListeners:Ljava/util/Collection;,"Ljava/util/Collection<Lcom/h2/org/springframework/beans/IBeanListener;>;"
    iput-object p1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanListeners:Ljava/util/Collection;

    .line 918
    return-void
.end method

.method public setBeanPreProcess(Ljava/util/Map;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/h2/org/springframework/beans/Bean;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 847
    .local p1, beanPreProcess:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Lcom/h2/org/springframework/beans/Bean;>;"
    iput-object p1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanPreProcess:Ljava/util/Map;

    .line 848
    return-void
.end method

.method public setBeanStack(Ljava/util/Stack;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Stack",
            "<",
            "Lcom/h2/org/springframework/beans/Bean;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 833
    .local p1, beans:Ljava/util/Stack;,"Ljava/util/Stack<Lcom/h2/org/springframework/beans/Bean;>;"
    iput-object p1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_beanStack:Ljava/util/Stack;

    .line 834
    return-void
.end method

.method public setPlaceholderResolver(Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;)V
    .locals 0
    .parameter "placeholderResolver"

    .prologue
    .line 889
    iput-object p1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_placeholderResolver:Lorg/springframework/beans/factory/config/PropertyPlaceholderConfigurer$PlaceholderResolver;

    .line 890
    return-void
.end method

.method public setProperties(Ljava/util/Properties;)V
    .locals 0
    .parameter "properties"

    .prologue
    .line 903
    iput-object p1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_properties:Ljava/util/Properties;

    .line 904
    return-void
.end method

.method public setResorceManager(Lcom/h2/org/springframework/beans/factory/IResourceManager;)V
    .locals 0
    .parameter "resorceManager"

    .prologue
    .line 819
    iput-object p1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_resorceManager:Lcom/h2/org/springframework/beans/factory/IResourceManager;

    .line 820
    return-void
.end method

.method public setResourceResolver(Lcom/h2/org/springframework/beans/factory/ResourceResolver;)V
    .locals 0
    .parameter "resourceResolver"

    .prologue
    .line 875
    iput-object p1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_resourceResolver:Lcom/h2/org/springframework/beans/factory/ResourceResolver;

    .line 876
    return-void
.end method

.method public setValueBeanStack(Ljava/util/Stack;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Stack",
            "<",
            "Lcom/h2/org/springframework/beans/IValueBean;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 931
    .local p1, valueBeanStack:Ljava/util/Stack;,"Ljava/util/Stack<Lcom/h2/org/springframework/beans/IValueBean;>;"
    iput-object p1, p0, Lorg/springframework/context/support/ClassPathXmlApplicationContext;->_valueBeanStack:Ljava/util/Stack;

    .line 932
    return-void
.end method
